

<div class="modal fade in"  style="display: block;position: relative;z-index: 0;">
    <div class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
        <h3>{{__('Notice Message')}}</h3>
        </div>
        
        <div class="modal-body">
        	<?php
	    $flash_msg =  $this->Session->flash();
	if($flash_msg){
		echo "<div class=\"container hide\">$flash_msg</div>";
	}
	//注意#maincontent中，只包含一个'.container'，否则无法前台编辑模板可能会走样。多行的使用实现使用<div class="row"></div>。
	?>
        	{{$message}}
        </div>
        <div class="modal-footer">
        {{if $url}}
    		<a href="{{eval echo $this->Html->url($url,array('class'=>"btn btn-primary"));}}">{{__('Click here to go!')}}</a>
    		{{if strpos($url,'javascript')!==false}}
    		<meta http-equiv="refresh" content="{{$seconds}}; url={{$this->Html->url($url);}}" />
    		{{/if}}
    	{{/if}}
        </div>
    </div>
    </div>
</div>